package nuc.soft.A01.jzs.model;

import nuc.soft.A01.jzs.model.general.GeneralObject;

public class Role extends GeneralObject{
	
	private String rolename;
	private int paperctrl;
	private int studentuserctrl;
	private int teacheruserctrl;
	private int showpaperctrl;
	private int editpaperctrl;
	private int makeproblemctrl;
	private int checkproblemctrl;
	
	public String getRolename() {
		return rolename;
	}
	public void setRolename(String rolename) {
		this.rolename = rolename;
	}
	public int getPaperctrl() {
		return paperctrl;
	}
	public void setPaperctrl(int paperctrl) {
		this.paperctrl = paperctrl;
	}
	public int getStudentuserctrl() {
		return studentuserctrl;
	}
	public void setStudentuserctrl(int studentuserctrl) {
		this.studentuserctrl = studentuserctrl;
	}
	public int getTeacheruserctrl() {
		return teacheruserctrl;
	}
	public void setTeacheruserctrl(int teacheruserctrl) {
		this.teacheruserctrl = teacheruserctrl;
	}
	public int getShowpaperctrl() {
		return showpaperctrl;
	}
	public void setShowpaperctrl(int showpaperctrl) {
		this.showpaperctrl = showpaperctrl;
	}
	public int getEditpaperctrl() {
		return editpaperctrl;
	}
	public void setEditpaperctrl(int editpaperctrl) {
		this.editpaperctrl = editpaperctrl;
	}
	public int getMakeproblemctrl() {
		return makeproblemctrl;
	}
	public void setMakeproblemctrl(int makeproblemctrl) {
		this.makeproblemctrl = makeproblemctrl;
	}
	public int getCheckproblemctrl() {
		return checkproblemctrl;
	}
	public void setCheckproblemctrl(int checkproblemctrl) {
		this.checkproblemctrl = checkproblemctrl;
	}
	
	@Override
	public String toString() {
		return "Role [getRolename()=" + getRolename() 
				+ ", getPaperctrl()=" + getPaperctrl()
				+ ", getStudentuserctrl()=" + getStudentuserctrl()
				+ ", getTeacheruserctrl()=" + getTeacheruserctrl()
				+ ", getShowpaperctrl()=" + getShowpaperctrl()
				+ ", getEditpaperctrl()=" + getEditpaperctrl()
				+ ", getMakeproblemctrl()=" + getMakeproblemctrl()
				+ ", getCheckproblemctrl()=" + getCheckproblemctrl()
				+ ", toString()=" + super.toString() + "]";
	}
	
	
	
	
	
}
